-
-
Notifications
You must be signed in to change notification settings - Fork 197
fix(prepare): disregard app_resources's dir name when preparing in platforms/ #3403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b96a8cc
to
2b5ef94
Compare
a944442
to
3faf66e
Compare
3faf66e
to
d7b244a
Compare
@KristianDD please review |
d7b244a
to
883fa4a
Compare
run ci |
app_resources dir path. This should align the names in platforms/android across the board and prevent having to do additional checks which could report false positives for the presence of app_resources when the name of the directory is too generic.
883fa4a
to
6f94b78
Compare
@@ -71,7 +71,7 @@ describe("App files copy", () => { | |||
|
|||
it("copies all app files but app_resources when not bundling", () => { | |||
const updater = new CopyAppFilesUpdater([ | |||
"file1", "dir1/file2", "App_Resources/Android/blah.png" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this changed? If the behavior is changed, the testname and expected results should be changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rosen-vladimirov that's an oversight on my part. I changed the only failing test, because the app_resources were no longer filtered as part of the copy()
method but in public updateApp() which returns void and I found no straightforward way of mocking it in order to update the test properly.
patches #3356
addresses #3400 and #3401